//LatLong- UTM conversion..h
//definitions for lat/long to UTM and UTM to lat/lng conversions

//LatLong- UTM conversion..h
//definitions for lat/long to UTM and UTM to lat/lng conversions
#include <string.h>

#ifndef LATLONGCONV
#define LATLONGCONV

void LLtoUTM(int ReferenceEllipsoid, const double Lat, const double Long,
                         double &UTMNorthing, double &UTMEasting, char* UTMZone);
void UTMtoLL(int ReferenceEllipsoid, const double UTMNorthing, const double UTMEasting, const char* UTMZone,
                          double& Lat,  double& Long );
char UTMLetterDesignator(double Lat);
void LLtoSwissGrid(const double Lat, const double Long,
                         double &SwissNorthing, double &SwissEasting);
void SwissGridtoLL(const double SwissNorthing, const double SwissEasting,
                                        double& Lat, double& Long);


class Ellipsoid
{
public:
        Ellipsoid(){};
        Ellipsoid(int Id, char* name, double radius, double ecc)
        {
                id = Id; ellipsoidName = name;
                EquatorialRadius = radius; eccentricitySquared = ecc;
        }

        int id;
        char* ellipsoidName;
        double EquatorialRadius;
        double eccentricitySquared;

};



#endif
